package com.sikaryofficial.backend.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sikaryofficial.backend.domain.entity.UserReport;
import com.sikaryofficial.backend.mapper.UserReportMapper;
import com.sikaryofficial.backend.service.IUserReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 举报Service业务层处理
 *
 * @author qinjinyuan
 * @date 2023-11-08
 */
@Service
public class UserReportServiceImpl extends ServiceImpl<UserReportMapper, UserReport> implements IUserReportService {
    @Autowired
    private UserReportMapper reportMapper;

    /**
     * 自动处理举报列表查询
     *
     * @return
     */
    @Override
    public List<UserReport> autoProcessList() {
        return reportMapper.autoProcessList(1000);
    }
}
